import request from '@/utils/request'

// 查询理货运抵基础配置列表
export function listArrivalTallyConfig(query) {
  return request({
    url: '/kmwlpts/arrivalTallyConfig/list',
    method: 'get',
    params: query
  })
}

// 查询理货运抵基础配置详细
export function getArrivalTallyConfig(id) {
  return request({
    url: '/kmwlpts/arrivalTallyConfig/' + id,
    method: 'get'
  })
}

// 新增理货运抵基础配置
export function addArrivalTallyConfig(data) {
  return request({
    url: '/kmwlpts/arrivalTallyConfig',
    method: 'post',
    data: data
  })
}

// 修改理货运抵基础配置
export function updateArrivalTallyConfig(data) {
  return request({
    url: '/kmwlpts/arrivalTallyConfig',
    method: 'put',
    data: data
  })
}

// 删除理货运抵基础配置
export function delArrivalTallyConfig(id) {
  return request({
    url: '/kmwlpts/arrivalTallyConfig/' + id,
    method: 'delete'
  })
}

// 导出理货运抵基础配置
export function exportArrivalTallyConfig(query) {
  return request({
    url: '/kmwlpts/arrivalTallyConfig/export',
    method: 'get',
    params: query
  })
}